package com.example.domain.schema.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.event.common.constant.BinlogRowEventConst;
import com.event.common.model.TableSchema;

/**
 * @Description
 * @Author Bing
 * @Date 2025/1/17 14:01
 */
@Repository
public interface TableSchemaMapper extends BaseMapper<Object> {

    @Select(BinlogRowEventConst.SECHEMA_MYBATIS_SQL)
    List<TableSchema> getTableColumns(@Param("schema") String schema, @Param("table") String table);
}